using System;
using System.Collections.Generic;
using System.Text;

namespace Rensselaer_Event_Finder
{
    public class User
    {
        private int id;
        private string username;
        private string password;
        private IList<Event> events;
        private DateTime createdTime;
        private DateTime editedTime;


        public User()
        {
            events = new List<Event>();
        }

        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }

        public virtual string Username
        {
            get { return username; }
            set { username = value; }
        }

        public virtual string Password
        {
            get { return password; }
            set { password = value; }
        }
        public virtual IList<Event> Events
        {
            get { return events; }
            set { events = value; }
        }
        public virtual DateTime CreatedTime
        {
            get { return createdTime; }
            set { createdTime = value; }
        }

        public virtual DateTime EditedTime
        {
            get { return editedTime; }
            set { editedTime = value; }
        }
    }

}
